import type {World} from "../../../framework/World.ts";
import type {Loader} from "../../../framework/Loder.ts";
import {setLoadListener} from "../../../components/process.ts";

/**
 * 初始化
 */
export const initWorld = () => {
    setLoadListener(onLoadModelsCompleted)
    // TODO 在下面加载资源,不可删除此行
}

/**
 * 模型加载完成之后
 */
export const onLoadModelsCompleted = (loader: Loader, world: World) => {
    // TODO 在下面添加主逻辑,不可删除此行
}
